package jdk8.lambda.why;

/**
 * @Desc:
 * @author: cww
 * @DateTime: 2020-06-06 21:07
 */

public class StudentAreaPredicate implements StudentPredicate {
    @Override
    public boolean filter(Student student) {
        return "china".equals(student.getArea());
    }
}
